//
//  HttpRequestManager.h
//  hospitalUser
//  
//  Created by 888 on 2021/10/9.
//  

#import <AFNetworking/AFNetworking.h>
#import "MacroHeader.h"
NS_ASSUME_NONNULL_BEGIN

typedef void (^HttpCompletedBlock)(BOOL ret, id obj);

@interface HttpRequestManager : AFHTTPSessionManager

+ (instancetype)sharedDefaultManager;
//PSOT 请求
- (void)requestPostWithPath:(NSString *)path params:(NSMutableDictionary *)params completed:(HttpCompletedBlock)completed;
//GET请求
- (void)requestGetWithPath:(NSString *)path params:(NSMutableDictionary *)params completed:(HttpCompletedBlock)completed;
@end

NS_ASSUME_NONNULL_END
